package com.team1.system.librarybook.domain;

import com.team1.common.annotation.Excel;
import com.team1.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 图书管理对象 library_book
 * 
 * @author hyy
 * @date 2023-04-09
 */
public class LibraryBook extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 图书id */
    private Long bookId;

    /** 图书名 */
    @Excel(name = "图书名")
    private String bookName;

    /** 作者名 */
    @Excel(name = "作者名")
    private String bookAuthor;

    /** 出版日期 */
    @Excel(name = "出版日期")
    private String bookTime;

    /** 出版社 */
    @Excel(name = "出版社")
    private String bookPublisher;

    /** 参考价格 */
    @Excel(name = "参考价格")
    private Double bookMoney;

    /** 图书类别 */
    @Excel(name = "图书类别")
    private String bookTag;

    /** 备注 */
    @Excel(name = "备注")
    private String bookInfo;

    /** 图片路径1 */
    @Excel(name = "图片路径1")
    private String bookPicpath1;

    /** 图片路径2 */
    @Excel(name = "图片路径2")
    private String bookPicpath2;

    /** 备用字段1 */
    @Excel(name = "备用字段1")
    private String tag1;

    /** 备用字段2 */
    @Excel(name = "备用字段2")
    private String tag2;

    public void setBookId(Long bookId) 
    {
        this.bookId = bookId;
    }

    public Long getBookId() 
    {
        return bookId;
    }
    public void setBookName(String bookName) 
    {
        this.bookName = bookName;
    }

    public String getBookName() 
    {
        return bookName;
    }
    public void setBookAuthor(String bookAuthor) 
    {
        this.bookAuthor = bookAuthor;
    }

    public String getBookAuthor() 
    {
        return bookAuthor;
    }
    public void setBookTime(String bookTime) 
    {
        this.bookTime = bookTime;
    }

    public String getBookTime() 
    {
        return bookTime;
    }
    public void setBookPublisher(String bookPublisher) 
    {
        this.bookPublisher = bookPublisher;
    }

    public String getBookPublisher() 
    {
        return bookPublisher;
    }
    public void setBookMoney(Double bookMoney) 
    {
        this.bookMoney = bookMoney;
    }

    public Double getBookMoney() 
    {
        return bookMoney;
    }
    public void setBookTag(String bookTag) 
    {
        this.bookTag = bookTag;
    }

    public String getBookTag() 
    {
        return bookTag;
    }
    public void setBookInfo(String bookInfo) 
    {
        this.bookInfo = bookInfo;
    }

    public String getBookInfo() 
    {
        return bookInfo;
    }
    public void setBookPicpath1(String bookPicpath1) 
    {
        this.bookPicpath1 = bookPicpath1;
    }

    public String getBookPicpath1() 
    {
        return bookPicpath1;
    }
    public void setBookPicpath2(String bookPicpath2) 
    {
        this.bookPicpath2 = bookPicpath2;
    }

    public String getBookPicpath2() 
    {
        return bookPicpath2;
    }
    public void setTag1(String tag1) 
    {
        this.tag1 = tag1;
    }

    public String getTag1() 
    {
        return tag1;
    }
    public void setTag2(String tag2) 
    {
        this.tag2 = tag2;
    }

    public String getTag2() 
    {
        return tag2;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("bookId", getBookId())
            .append("bookName", getBookName())
            .append("bookAuthor", getBookAuthor())
            .append("bookTime", getBookTime())
            .append("bookPublisher", getBookPublisher())
            .append("bookMoney", getBookMoney())
            .append("bookTag", getBookTag())
            .append("bookInfo", getBookInfo())
            .append("bookPicpath1", getBookPicpath1())
            .append("bookPicpath2", getBookPicpath2())
            .append("tag1", getTag1())
            .append("tag2", getTag2())
            .toString();
    }
}
